﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ASN.aspx.cs" Inherits="WMS6.Web.Inbound.ASN"
    meta:resourcekey="Page" %>

<%@ Register Src="../UserControls/Pager.ascx" TagName="Pager" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>ASN</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/jquery.blockUI.js" type="text/javascript"></script>

    <script src="../Js/util.js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/Verification.js" type="text/javascript"></script>

    <script src="../Js/checkbox.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        
        function newASN()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "ASN.aspx?from="+ escape(from) ;
            return false;
        }
        
        //弹出窗口选择PO
        function popPurchaseOrderQuery()
        {
            var rtnValue = popModalWindow('../OrderManagement/PurchaseOrderQuery.aspx?action=txtPoID&ownerID='+escape(document.getElementById('txtOwnerID').value),'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;')
            var temp = document.getElementById("hdnInportValue").value ;
            if(rtnValue != null && rtnValue.toString() != "")
            {             
                 rtnValue = rtnValue.split('@_@');
                 if(rtnValue[1] == "Y")
                 {
                       if(confirm("该PO已经有对应的入库通知单，是否再次导入?"))
                       {
                            document.getElementById("txtPoID").value = rtnValue[0];           
                            document.getElementById("hdnImportPOValue").value = rtnValue[0];    
                            if(document.getElementById("btnInputPO") != null)
                            {                            
                                document.getElementById("hdnPageType").value = "1";           
                                document.getElementById("btnInputPO").click();
                            }
                       }
                 }
                 else
                 {
                    document.getElementById("txtPoID").value = rtnValue[0];           
                    document.getElementById("hdnImportPOValue").value = rtnValue[0];    
                    if(document.getElementById("btnInputPO") != null)
                    {                            
                        document.getElementById("hdnPageType").value = "1";           
                        document.getElementById("btnInputPO").click();
                    }
                 }
                
                  

            }
            document.getElementById("hdnInportValue").value = rtnValue;
            //setTab('one', 6, 6);
        }
        
        
              //弹出窗口选择PO
        function popShippingOrderQuery()
        {
            var rtnValue = popModalWindow('../Outbound/ShippingOrderQuery.aspx?action=txtPoID&OrderStatus=4RETURN&OwnerID='+escape(document.getElementById('txtOwnerID').value),'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;')
            var temp = document.getElementById("hdnInportValue").value ;
            if(rtnValue != null && rtnValue.toString() != "")
            {           
                document.getElementById("hdnPageType").value = "1"; 
                document.getElementById('hdnSoID').value = rtnValue;              
                document.getElementById('btnInputSO').click();
            }
        }
        
        //弹出窗口选择货主
        function selectOwner()
        {
            var rtnValue = popModalWindow('../Configuration/OwnerQuery.aspx?action=txtOwnerID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtOwnerID").focus();
                document.getElementById("txtOwnerID").value = rtnValue;
            }
        }
        
        //弹出窗口选择供应商
        function selectVendor() 
        {
            var type = document.getElementById("hdnTypeValue").value;
            //判断单据类型如果是退货时选择供应商
            if (type != null && type.toString().toUpperCase() == "Return".toUpperCase()) {
                var rtnValue = popModalWindow('../Configuration/CustomerQuery.aspx?action=txtVendorID', 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            }
            else {
                var rtnValue = popModalWindow('../Configuration/VendorQuery.aspx?action=txtVendorID', 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            }
            
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtVendorID").focus();
                document.getElementById("txtVendorID").value = rtnValue;
                   document.getElementById("hdnPageType").value = "1"; //标识符，标识本次操作是否会导致页面刷新 默认0  1代表会刷新
                __doPostBack("txtVendorID_TextChanged","");
            }
        }
        
        //弹出窗口选择承运商
        function selectCarrier()
        {
            var rtnValue = popModalWindow('../Configuration/CarrierQuery.aspx?action=txtCarrierID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtCarrierID").focus();
                document.getElementById("txtCarrierID").value = rtnValue;
                   document.getElementById("hdnPageType").value = "1"; //标识符，标识本次操作是否会导致页面刷新 默认0  1代表会刷新
                __doPostBack("txtCarrierID_TextChanged","");
            }
        }
        
        //弹出窗口选择港口
        function selectDestinationPort()
        {
            var rtnValue = popModalWindow('../Configuration/PortQuery.aspx?action=txtDestinationPort','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtDestinationPort").focus();
                document.getElementById("txtDestinationPort").value = rtnValue;
            }
        }  
        
         //弹出窗口选择港口
        function selectDeparturePort()
        {
            var rtnValue = popModalWindow('../Configuration/PortQuery.aspx?action=txtDeparturePort','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtDeparturePort").focus();
                document.getElementById("txtDeparturePort").value = rtnValue;
            }
        } 
        
        //弹出 打印 入库验收单 的窗口
        function popPrintReceipt()
        {
            var receiptID = document.getElementById("txtReceiptID").value;
            var OwnerID= document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=printreceipt&receiptID=' + escape(receiptID)+'&OwnerID='+escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
        
        //弹出 打印 进仓通知单 的窗口
        function popPrintImportNote() {
            var receiptID = document.getElementById("txtReceiptID").value;
            var OwnerID = document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=printimportnote&receiptID=' + escape(receiptID) + '&OwnerID=' + escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
        
                
        //弹出 打印 入库调拨单 的窗口
        function popPrintAllocationt()
        {
            var receiptID = document.getElementById("txtReceiptID").value;
            var OwnerID= document.getElementById("txtOwnerID").value;
            window.open('../Common/PrintReport.aspx?rtype=PRINTALLOCATION&receiptID=' + escape(receiptID)+'&OwnerID='+escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
        }
        
         //弹出 生成 LPN
        function popGenerateLpn()
        {
           //  this.hdnFlag.Value == "1"
            if(document.getElementById('hdnFlag').value == "1")
            {
                var receiptID = document.getElementById("txtReceiptID").value;
                window.open('../Common/LpnGenerate.aspx?RECEIPTID=' + escape(receiptID), 'GenerateWindow', 'width=600,height=500,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');
            }
            else
            {
              document.getElementById('lblMsg').innerText="请先创建入库通知单!";
            }
        }
        
                
        function showAction()
		{	
			var pos = getElementPos("btnAction");	
			document.getElementById("actionDiv").style.top = pos.y+17;
			document.getElementById("actionDiv").style.left = pos.x;  			
			document.getElementById("hiddenFlag").value = '1';
		}
		
		//显示 报表 DIV
		function showReport()
		{	
			var pos = getElementPos("htmlbtnReport");	
			document.getElementById("reportDiv").style.top = pos.y+17;
			document.getElementById("reportDiv").style.left = pos.x;  			
			document.getElementById("hiddenReportFlag").value = '1';
		}
		
       function hiddenDiv()
		{
			var flag = document.getElementById("hiddenFlag").value
			if(flag == "1")
			{
				document.getElementById("actionDiv").style.display = "block";
				document.getElementById("hiddenFlag").value = '0';
			}
			else 
			{
				document.getElementById("actionDiv").style.display = "none";
			}
		}
		//隐藏 报表 DIV
		function hiddenReportDiv()
		{
			var flag = document.getElementById("hiddenReportFlag").value
			if(flag == "1")
			{
				document.getElementById("reportDiv").style.display = "block";
				document.getElementById("hiddenReportFlag").value = '0';
			}
			else 
			{
				document.getElementById("reportDiv").style.display = "none";
			}
		}
			   //导入
		function DataImport() {
		    var rtnValue = popModalWindow('../Common/ImporData.aspx?action=RECEIPTDETAIL&OrderID=' + escape(document.getElementById('txtReceiptID').value) + '&OwnerID=' + escape(document.getElementById('txtOwnerID').value), 'dialogWidth=520px;dialogHeight=300px;center=yes;resizable=yes;status=no;')
		   if(rtnValue != "") {
		       window.location.href = "ASN.aspx?from=list&ID=" + escape(document.getElementById('txtReceiptID').value) + "&detail=6";
		   }
		}
			//锁屏
		function blockScreen()
		{
		    //锁屏
		    $.blockUI.defaults.message = GetBlockUIMsg();
            $.blockUI.defaults.overlayCSS.backgroundColor = GetBlockUIBgColor();
            $.blockUI();
		    
		    //document.getElementById("hdnAction").value = condition;
		    //document.getElementById("btnAction").click();
        }
        
          //隐藏 DIV
        function ImporDataDivClose()
        {
           window.location.href = "../inbound/ASN.aspx?from=list&ID=" + escape(document.getElementById('txtReceiptID').value) + "&detail=6";
        }

        function GetASNByReceiptID()
		{
//		    document.getElementById("hdnPageType").value = "1";
//		    var poID = document.getElementById("<%=txtReceiptID.ClientID %>").value;
//		    var varForm = document.getElementById("<%=hdnFrom.ClientID%>").value;
//		    window.location.href("ASN.aspx?from="+varForm+"&ID="+poID);
		}

		function confirmMsg(code) {
		    if (code == "F4100_001") {
		        if (confirm('<%=GetGlobalMsgResource("F4100_001") %>')) {
		            return true;
		        }
		        else {
		            return false;
		        }
		    }
		    if (code == "F4100_037") {
		        if (confirm('<%=GetGlobalMsgResource("F4100_037") %>')) {
		            return true;
		        }
		        else {
		            return false;
		        }
		    }
		    if (code == "F4100_038") {
		        if (confirm('<%=GetGlobalMsgResource("F4100_038") %>')) {
		            return true;
		        }
		        else {
		            return false;
		        }
		    }
		    
		}
		
		function showGvSettingIco(obj) {

		   
		    var pos = getElementPos("img01");	
			document.getElementById("gvSettingDiv").style.top = pos.y - 21;
			document.getElementById("gvSettingDiv").style.left = pos.x - 21;  	
			
		    document.getElementById("gvSettingDiv").style.display = "block";
		}
		function hiddenGvSettingIco() {

		 
		    document.getElementById("gvSettingDiv").style.display = "none";
		}
		function showDiv2(divID) {
		   
		    document.getElementById(divID).style.display = "block";
		    document.getElementById(divID).className = "gvSettingpicon";
		  
		 //   document.getElementById(divID).style.display = "block";
		}
		function hiddenDiv2(divID) {


		    document.getElementById(divID).className = "gvSettingpic";
		    document.getElementById(divID).style.display = "none";
		}
		function ExternalIDDuplicate()
	    {
	        if(confirm('<%=GetGlobalMsgResource("F4100_042") %>'))
	        {
	            document.getElementById("hdnExternalIDDuplicate").value = "Y";
	            document.getElementById("btnSave").click();
	        }
	    }
    </script>

</head>
<body onbeforeunload="SavePageValue('btnSave','hdnPageQty');">
    <form id="F4011" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblOwner" runat="server" CssClass="label_header" Text="入库通知单" meta:resourcekey="lblOwner"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnGoBack" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnGoBack%>"
                            CausesValidation="False" OnClick="btnGoBack_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnNew" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnNew%>"
                            AccessKey="n" OnClientClick="newASN();return false;" />
                    </td>
                    <td>
                        <asp:Button ID="btnSave" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnSave%>"
                            AccessKey="s" OnClick="btnSave_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnDelete" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnDelete%>"
                            AccessKey="d" OnClientClick="javascript:if(confirmMsg('F4100_001'))return true; else return false;"
                            OnClick="btnDelete_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnCopy" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnCopy%>"
                            AccessKey="c" OnClick="btnCopy_Click" />
                    </td>
                    <td>
                        <input id="btnAction" type="button" runat="server" value="<%$Resources:ButtonResource,btnAction%>"
                            class="button" onclick="showAction();" />
                        <asp:Button ID="btnInputPO" runat="server" Text="导入" Style="display: none" OnClick="btnInputPO_Click" />
                        <asp:Button ID="btnInputSO" runat="server" Text="导入" Style="display: none" OnClick="btnInputSO_Click" />
                    </td>
                    <td>
                        <input id="htmlbtnReport" type="button" runat="server" value="<%$Resources:ButtonResource,btnReport%>"
                            class="button" onclick="showReport();" />
                    </td>
                </tr>
            </table>
        </div>
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
                <div>
                    <asp:Label ID="lblMsg" runat="server" CssClass="label_message" meta:resourcekey="lblMsg"></asp:Label>
                </div>
                <div id="div_menu">
                    <div style="float: left; width: 8px;">
                        <div class="tabL" id="divL1">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur" onclick="setTab('one',1,7)"
                        id="divM1">
                        <asp:Label ID="one1" CssClass="hover" runat="server" meta:resourcekey="one1">基本信息</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR" id="divR1">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL2">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,7);"
                        id="divM2">
                        <asp:Label ID="one2" CssClass="navigationlabel" runat="server" meta:resourcekey="one2">&nbsp;供应商&nbsp;</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR2">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL3">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',3,7);"
                        id="divM3">
                        <asp:Label ID="one3" CssClass="navigationlabel" runat="server" meta:resourcekey="one3">&nbsp;承运商&nbsp;</asp:Label></div>
                    <div style="float: left; margin-right: 3px;">
                        <div class="tabR_1" id="divR3">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL4">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',4,7);"
                        id="divM4">
                        <asp:Label ID="one4" CssClass="navigationlabel" runat="server" meta:resourcekey="one4">&nbsp;运输&nbsp;</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR4">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL7">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',7,7);"
                        id="divM7">
                        <asp:Label ID="one7" CssClass="navigationlabel" runat="server" meta:resourcekey="one7">人力资源</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR7">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL5">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',5,7);"
                        id="divM5">
                        <asp:Label ID="one5" CssClass="navigationlabel" runat="server" meta:resourcekey="one5">自定义字段</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR5">
                        </div>
                    </div>
                    <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL6">
                        </div>
                    </div>
                    <div style="float: left;" class="tabLabelCont tabCur_1" runat="server" onclick="setTab('one',6,7);"
                        id="divM6">
                        <asp:Label ID="one6" CssClass="navigationlabel" runat="server" meta:resourcekey="one6">入库通知明细</asp:Label></div>
                    <div style="float: left; margin-right: 2px;">
                        <div class="tabR_1" id="divR6">
                        </div>
                    </div>
                </div>
                <div id="div_content">
                    <div id="con_one_1" style="display: block;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblReceiptID" CssClass="label" runat="server" Text="入库通知单号" meta:resourcekey="lblReceiptID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblStatus" CssClass="label" runat="server" Text="状态" meta:resourcekey="lblStatus"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblPoID" runat="server" CssClass="label" Text="采购订单号" meta:resourcekey="lblPoID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblReceiptDate" CssClass="label" runat="server" Text="收货日期" meta:resourcekey="lblReceiptDate"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtReceiptID" runat="server" CssClass="textbox" MaxLength="20" AutoPostBack="True"
                                        OnTextChanged="txtReceiptID_TextChanged" meta:resourcekey="txtReceiptID"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlStatus" runat="server" CssClass="mediumselectbox" Enabled="False"
                                        meta:resourcekey="ddlStatus">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtPoID" runat="server" Enabled="False" CssClass="textbox" meta:resourcekey="txtPoID"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtReceiptDate" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsTime(this,'lblMsg')"
                                        meta:resourcekey="txtReceiptDate"></asp:TextBox><img src="../Images/calendar.gif"
                                            class="img" alt="请选择日期" onclick="setday(this,txtReceiptDate)" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblOwnerID" runat="server" CssClass="label" Text="货主代码" meta:resourcekey="lblOwnerID"></asp:Label><font
                                        class="must_input">*</font>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblReceiptType" runat="server" CssClass="label" Text="类型" meta:resourcekey="lblReceiptType"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblExternalReceiptID" runat="server" CssClass="label" Text="外部订单号"
                                        meta:resourcekey="lblExternalReceiptID"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblExpetedReceiptDate" runat="server" CssClass="label" Text="预期到货日期"
                                        meta:resourcekey="lblExpetedReceiptDate"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" meta:resourcekey="txtOwnerID"></asp:TextBox><img
                                        src="../Images/icon_find.gif" id="imgOwnerID" runat="server" alt="select one item"
                                        class="img" onclick="selectOwner();" />
                                </td>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlReceiptType" runat="server" CssClass="mediumselectbox" AutoPostBack="true"
                                        OnSelectedIndexChanged="ddlReceiptType_OnSelectedIndexChanged" meta:resourcekey="ddlReceiptType">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtExternalReceiptID" runat="server" CssClass="textbox" meta:resourcekey="txtExternalReceiptID"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtExpetedReceiptDate" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsTime(this,'lblMsg')"
                                        meta:resourcekey="txtExpetedReceiptDate"></asp:TextBox><img src="../Images/calendar.gif"
                                            class="img" alt="请选择日期" onclick="setday(this,txtExpetedReceiptDate)" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblTotalExceptQty" runat="server" CssClass="label" Text="总预期量" meta:resourcekey="lblTotalExceptQty"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblTotalReceiptQty" runat="server" CssClass="label" Text="总接收量" meta:resourcekey="lblTotalReceiptQty"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblPackingSlipNumber" runat="server" CssClass="label" Text="装箱单号"
                                        meta:resourcekey="lblPackingSlipNumber"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblArrivalDate" runat="server" CssClass="label" Text="到货日期" meta:resourcekey="lblArrivalDate"></asp:Label><font
                                        class="must_input">*</font>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtTotalExceptQty" runat="server" CssClass="textbox" Enabled="False"
                                        meta:resourcekey="txtTotalExceptQty"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtTotalReceiptQty" runat="server" CssClass="textbox" Enabled="False"
                                        meta:resourcekey="txtTotalReceiptQty"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtPackingSlipNumber" runat="server" CssClass="textbox" meta:resourcekey="txtPackingSlipNumber"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtArrivalDate" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsTime(this,'lblMsg')"
                                        meta:resourcekey="txtArrivalDate"></asp:TextBox><img src="../Images/calendar.gif"
                                            class="img" alt="请选择日期" onclick="setday(this,txtArrivalDate)" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblTotalGrossWeight" runat="server" CssClass="label" Text="总毛重" meta:resourcekey="lblTotalGrossWeight"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblTotalCube" runat="server" CssClass="label" Text="总体积" meta:resourcekey="lblTotalCube"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblWareHouseRef" runat="server" CssClass="label" Text="仓库参考信息" meta:resourcekey="lblWareHouseRef"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblRma" runat="server" CssClass="label" Text="RMA号" meta:resourcekey="lblRma"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtTotalGrossWeight" runat="server" CssClass="textbox" Enabled="False"
                                        meta:resourcekey="txtTotalGrossWeight"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtTotalCube" runat="server" CssClass="textbox" Enabled="False"
                                        meta:resourcekey="txtTotalCube"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtWareHouseRef" runat="server" CssClass="textbox" meta:resourcekey="txtWareHouseRef"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtRma" runat="server" CssClass="textbox" meta:resourcekey="txtRma"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblTotalNetWeight" runat="server" CssClass="label" Text="总净重" meta:resourcekey="lblTotalNetWeight"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDeclarationsType" runat="server" CssClass="label" Text="报关类型" meta:resourcekey="lblDeclarationsType"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblWorkOrder" runat="server" CssClass="label" Text="作业单号" meta:resourcekey="lblWorkOrder"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCoreReleaseID" runat="server" CssClass="label" Text="核放单号" meta:resourcekey="lblCoreReleaseID"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtTotalNetWeight" runat="server" CssClass="textbox" Enabled="False"
                                        meta:resourcekey="txtTotalNetWeight"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlDeclarationsType" runat="server" CssClass="mediumselectbox">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtWorkOrder" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCoreReleaseID" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:CheckBox ID="chbSAPAuthentication" runat="server" CssClass="checkbox" Text="SAP验证"
                                        Enabled="false" Checked="false" meta:resourcekey="chbSAPAuthentication" />
                                </td>
                                <td width="180px">
                                    <asp:CheckBox ID="chkboxPalletAudit" runat="server" CssClass="checkbox" Text="箱托审核"
                                        Enabled="false" Checked="false" meta:resourcekey="chkboxPalletAudit" />
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_2" style="display: none;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblVendorID" runat="server" CssClass="label" Text="供应商代码" meta:resourcekey="lblVendorID"></asp:Label>
                                </td>
                                <td width="360px" colspan="2">
                                    <asp:Label ID="lblVendorName" runat="server" CssClass="label" Text="供应商名称" meta:resourcekey="lblVendorName"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblVendorRef" runat="server" CssClass="label" Text="供应商参考信息" meta:resourcekey="lblVendorRef"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtVendorID" runat="server" CssClass="textbox" OnTextChanged="txtVendorID_TextChanged"
                                        AutoPostBack="True" meta:resourcekey="txtVendorID"></asp:TextBox><img src="../Images/icon_find.gif"
                                            alt="select one item" class="img" onclick="selectVendor();" />
                                </td>
                                <td width="360px" colspan="2">
                                    <asp:TextBox ID="txtVendorName" runat="server" CssClass="largetextbox" meta:resourcekey="txtVendorName"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtVendorRef" runat="server" CssClass="textbox" meta:resourcekey="txtVendorRef"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblVendorCity" runat="server" CssClass="label" Text="城市" meta:resourcekey="lblVendorCity"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblVendorProv" runat="server" CssClass="label" Text="省份" meta:resourcekey="lblVendorProv"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblVendorZip" runat="server" CssClass="label" Text="邮编" meta:resourcekey="lblVendorZip"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblVendorCountry" runat="server" CssClass="label" Text="国家" meta:resourcekey="lblVendorCountry"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtVendorCity" runat="server" CssClass="textbox" meta:resourcekey="txtVendorCity"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtVendorProv" runat="server" CssClass="textbox" meta:resourcekey="txtVendorProv"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtVendorZip" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsPost(this,'lblMsg')"
                                        meta:resourcekey="txtVendorZip"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtVendorCountry" runat="server" CssClass="textbox" meta:resourcekey="txtVendorCountry"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px" colspan="2">
                                    <asp:Label ID="lblVendorAddress" runat="server" CssClass="label" Text="地址" meta:resourcekey="lblVendorAddress"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblVendorPhone" runat="server" CssClass="label" Text="电话" meta:resourcekey="lblVendorPhone"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblVendorContact" runat="server" CssClass="label" Text="联系人" meta:resourcekey="lblVendorContact"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px" colspan="2" rowspan="3">
                                    <asp:TextBox ID="txtVendorAddress" runat="server" CssClass="largetextarea" TextMode="MultiLine"
                                        meta:resourcekey="txtVendorAddress"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtVendorPhone" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsPhone(this,'lblMsg')"
                                        meta:resourcekey="txtVendorPhone"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtVendorContact" runat="server" CssClass="textbox" meta:resourcekey="txtVendorContact"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblVendorFax" runat="server" CssClass="label" Text="传真" meta:resourcekey="lblVendorFax"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblVendorEmail" runat="server" CssClass="label" Text="Email" meta:resourcekey="lblVendorEmail"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtVendorFax" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsFax(this,'lblMsg')"
                                        meta:resourcekey="txtVendorFax"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtVendorEmail" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsMail(this,'lblMsg')"
                                        meta:resourcekey="txtVendorEmail"></asp:TextBox>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_3" style="display: none;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblCarrierID" runat="server" CssClass="label" Text="承运商代码" meta:resourcekey="lblCarrierID"></asp:Label>
                                </td>
                                <td width="180px" colspan="2">
                                    <asp:Label ID="lblCarrierName" runat="server" CssClass="label" Text="承运商名称" meta:resourcekey="lblCarrierName"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCarrierRef" runat="server" CssClass="label" Text="承运商参考信息" meta:resourcekey="lblCarrierRef"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtCarrierID" runat="server" CssClass="textbox" OnTextChanged="txtCarrierID_TextChanged"
                                        AutoPostBack="True" meta:resourcekey="txtCarrierID"></asp:TextBox><img src="../Images/icon_find.gif"
                                            alt="select one item" class="img" onclick="selectCarrier();" />
                                </td>
                                <td width="360px" colspan="2">
                                    <asp:TextBox ID="txtCarrierName" runat="server" CssClass="largetextbox" meta:resourcekey="txtCarrierName"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtCarrierRef" runat="server" CssClass="textbox" meta:resourcekey="txtCarrierRef"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblCarrierCity" runat="server" CssClass="label" Text="城市" meta:resourcekey="lblCarrierCity"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCarrierProv" runat="server" CssClass="label" Text="省份" meta:resourcekey="lblCarrierProv"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCarrierZIP" runat="server" CssClass="label" Text="邮编" meta:resourcekey="lblCarrierZIP"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCarrierCountry" runat="server" CssClass="label" Text="国家" meta:resourcekey="lblCarrierCountry"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtCarrierCity" runat="server" CssClass="textbox" meta:resourcekey="txtCarrierCity"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCarrierProv" runat="server" CssClass="textbox" meta:resourcekey="txtCarrierProv"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCarrierZIP" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsPost(this,'lblMsg')"
                                        meta:resourcekey="txtCarrierZIP"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCarrierCountry" runat="server" CssClass="textbox" meta:resourcekey="txtCarrierCountry"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px" colspan="2">
                                    <asp:Label ID="lblCarrierAddress" runat="server" CssClass="label" Text="地址" meta:resourcekey="lblCarrierAddress"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCarrierPhone" runat="server" CssClass="label" Text="电话" meta:resourcekey="lblCarrierPhone"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCarrierContact" runat="server" CssClass="label" Text="联系人" meta:resourcekey="lblCarrierContact"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px" colspan="2" rowspan="3">
                                    <asp:TextBox ID="txtCarrierAddress" runat="server" CssClass="largetextarea" TextMode="MultiLine"
                                        meta:resourcekey="txtCarrierAddress"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCarrierPhone" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsPhone(this,'lblMsg')"
                                        meta:resourcekey="txtCarrierPhone"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCarrierContact" runat="server" CssClass="textbox" meta:resourcekey="txtCarrierContact"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="lblCarrierFax" runat="server" CssClass="label" Text="传真" meta:resourcekey="lblCarrierFax"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lblCarrierMail" runat="server" CssClass="label" Text="Email" meta:resourcekey="lblCarrierMail"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtCarrierFax" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsFax(this,'lblMsg')"
                                        meta:resourcekey="txtCarrierFax"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtCarrierMail" runat="server" CssClass="textbox" onblur="Javascript:dataVer._IsMail(this,'lblMsg')"
                                        meta:resourcekey="txtCarrierMail"></asp:TextBox>
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_4" style="display: none;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblVehicleNumber" runat="server" CssClass="label" Text="运输工具号" meta:resourcekey="lblVehicleNumber"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblSrcCountry" runat="server" CssClass="label" Text="出发国家" meta:resourcekey="lblSrcCountry"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblContainerType" runat="server" CssClass="label" Text="集装箱类型" meta:resourcekey="lblContainerType"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblShipName" runat="server" CssClass="label" Text="船名" meta:resourcekey="lblShipName"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtVehicleNumber" runat="server" CssClass="textbox" meta:resourcekey="txtVehicleNumber"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtSrcCountry" runat="server" CssClass="textbox" meta:resourcekey="txtSrcCountry"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlContainerType" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlContainerType">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtShipName" runat="server" CssClass="textbox" MaxLength="25"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblTransportationMode" runat="server" CssClass="label" Text="运输方式"
                                        meta:resourcekey="lblTransportationMode"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDestCountry" runat="server" CssClass="label" Text="目的国家" meta:resourcekey="lblDestCountry"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblContainerQty" runat="server" CssClass="label" Text="数量" meta:resourcekey="lblContainerQty"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblVoyage" runat="server" CssClass="label" Text="航次" meta:resourcekey="lblVoyage"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlTransportationMode" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlTransportationMode">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDestCountry" runat="server" CssClass="textbox" meta:resourcekey="txtDestCountry"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtContainerQty" runat="server" CssClass="textbox" meta:resourcekey="txtContainerQty"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtVoyage" runat="server" CssClass="textbox" MaxLength="25"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblPaymentTerm" runat="server" CssClass="label" Text="付款条款" meta:resourcekey="lblPaymentTerm"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblPlaceOfLoading" runat="server" CssClass="label" Text="装货地" meta:resourcekey="lblPlaceOfLoading"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblTrailerNumber" runat="server" CssClass="label" Text="拖车号" meta:resourcekey="lblTrailerNumber"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDestinationPort" runat="server" CssClass="label" Text="出发港" meta:resourcekey="lblDestinationPort"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlPaymentTerm" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlPaymentTerm">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtPlaceOfLoading" runat="server" CssClass="textbox" meta:resourcekey="txtPlaceOfLoading"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtTrailerNumber" runat="server" CssClass="textbox" meta:resourcekey="txtTrailerNumber"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDestinationPort" runat="server" CssClass="textbox" meta:resourcekey="txtStop"></asp:TextBox><img
                                        src="../Images/icon_find.gif" id="img2" alt="select one item" class="img" onclick="selectDestinationPort();" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblIncoTerms" runat="server" CssClass="label" Text="交货条款" meta:resourcekey="lblIncoTerms"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblPlaceOfDischarge" runat="server" CssClass="label" Text="卸货地" meta:resourcekey="lblPlaceOfDischarge"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblTrailerOwner" runat="server" CssClass="label" Text="车主" meta:resourcekey="lblTrailerOwner"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDeparturePort" runat="server" CssClass="label" Text="目的港" meta:resourcekey="lblDeparturePort"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:DropDownList ID="ddlIncoTerms" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlIncoTerms">
                                    </asp:DropDownList>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtPlaceOfDischarge" runat="server" CssClass="textbox" meta:resourcekey="txtPlaceOfDischarge"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtTrailerOwner" runat="server" CssClass="textbox" meta:resourcekey="txtTrailerOwner"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDeparturePort" runat="server" CssClass="textbox"></asp:TextBox><img
                                        src="../Images/icon_find.gif" id="img3" alt="select one item" class="img" onclick="selectDeparturePort();" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblPlaceOfDelivery" runat="server" CssClass="label" Text="送货地" meta:resourcekey="lblPlaceOfDelivery"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblDriverName" runat="server" CssClass="label" Text="司机" meta:resourcekey="lblDriverName"></asp:Label>
                                </td>
                                <td width="180px">
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtPlaceOfDelivery" runat="server" CssClass="textbox" meta:resourcekey="txtPlaceOfDelivery"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtDriverName" runat="server" CssClass="textbox" meta:resourcekey="txtDriverName"></asp:TextBox>
                                </td>
                                <td width="180px">
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_7" style="display: none;">
                        <table width="540" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblStoreman" runat="server" CssClass="label" Text="保管员" meta:resourcekey="lblStoreman"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblWorkType" runat="server" CssClass="label" Text="作业形式" meta:resourcekey="lblWorkType"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblEquipmentProfileID" runat="server" CssClass="label" Text="设备号"
                                        meta:resourcekey="lblEquipmentProfileID"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:DropDownList ID="ddlStoreman" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlStoreman">
                                    </asp:DropDownList>
                                </td>
                                <td width="180">
                                    <asp:DropDownList ID="ddlWorkType" runat="server" CssClass="mediumselectbox" AutoPostBack="True"
                                        OnSelectedIndexChanged="ddlWorkType_SelectedIndexChanged" meta:resourcekey="ddlWorkType">
                                    </asp:DropDownList>
                                </td>
                                <td width="180">
                                    <asp:DropDownList ID="ddlEquipmentProfileID" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlEquipmentProfileID">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:Label ID="lblForkliftDriver" runat="server" CssClass="label" Text="司机" meta:resourcekey="lblForkliftDriver"></asp:Label>
                                </td>
                                <td width="180">
                                    <asp:Label ID="lblWorkClass" runat="server" CssClass="label" Text="作业班次" meta:resourcekey="lblWorkClass"></asp:Label>
                                </td>
                                <td width="180">
                                </td>
                            </tr>
                            <tr>
                                <td width="180">
                                    <asp:DropDownList ID="ddlForkliftDriver" runat="server" CssClass="mediumselectbox"
                                        meta:resourcekey="ddlForkliftDriver">
                                    </asp:DropDownList>
                                </td>
                                <td width="180">
                                    <asp:DropDownList ID="ddlWorkClass" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlWorkClass">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkIsHoliday" runat="server" Checked="False" CssClass="checkbox"
                                        meta:resourcekey="chkIsHoliday" Text="节假日" />
                                </td>
                            </tr>
                            <tr>
                                <td width="180px" colspan="2">
                                    <asp:Label ID="lblManResourceRemark" runat="server" Text="备注" CssClass="label" meta:resourcekey="lblManResourceRemark"></asp:Label>
                                </td>
                                <td width="180px">
                                </td>
                            </tr>
                            <tr>
                                <td width="180px" colspan="2" rowspan="3">
                                    <asp:TextBox ID="txtManResourceRemark" runat="server" MaxLength="300" CssClass="largetextarea"
                                        TextMode="MultiLine" meta:resourcekey="txtManResourceRemark"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="con_one_5" style="display: none;">
                        <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblUdf1" runat="server" CssClass="label" Text="自定义字段01" meta:resourcekey="lblUdf1"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf6" runat="server" CssClass="label" Text="自定义字段06" meta:resourcekey="lblUdf6"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCreatedBy" runat="server" CssClass="label" Text="制单人" meta:resourcekey="lblCreatedBy"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblCreatedDate" runat="server" CssClass="label" Text="制单日期" meta:resourcekey="lblCreatedDate"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf1" runat="server" CssClass="textbox" meta:resourcekey="txtUdf1"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf6" runat="server" CssClass="textbox" meta:resourcekey="txtUdf6"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCreatedBy" runat="server" Enabled="False" CssClass="textbox"
                                        meta:resourcekey="txtCreatedBy"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtCreatedDate" runat="server" Enabled="False" CssClass="textbox"
                                        meta:resourcekey="txtCreatedDate"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblUdf2" runat="server" CssClass="label" Text="自定义字段02" meta:resourcekey="lblUdf2"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf7" runat="server" CssClass="label" Text="自定义字段07" meta:resourcekey="lblUdf7"></asp:Label>
                                </td>
                                <td width="360px" colspan="2">
                                    <asp:Label ID="lblRemark" runat="server" CssClass="label" Text="备注" meta:resourcekey="lblRemark"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf2" runat="server" CssClass="textbox" meta:resourcekey="txtUdf2"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf7" runat="server" CssClass="textbox" meta:resourcekey="txtUdf7"></asp:TextBox>
                                </td>
                                <td width="360px" colspan="2" rowspan="3">
                                    <asp:TextBox ID="txtRemark" runat="server" CssClass="largetextarea" TextMode="MultiLine"
                                        meta:resourcekey="txtRemark"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblUdf3" runat="server" CssClass="label" Text="自定义字段03" meta:resourcekey="lblUdf3"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf8" runat="server" CssClass="label" Text="自定义字段08" meta:resourcekey="lblUdf8"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf3" runat="server" CssClass="textbox" meta:resourcekey="txtUdf3"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf8" runat="server" CssClass="textbox" meta:resourcekey="txtUdf8"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblUdf04" runat="server" CssClass="label" Text="自定义字段04" meta:resourcekey="lblUdf04"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf09" runat="server" CssClass="label" Text="自定义字段09" meta:resourcekey="lblUdf09"></asp:Label>
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf4" runat="server" CssClass="textbox" meta:resourcekey="txtUdf4"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf9" runat="server" CssClass="textbox" meta:resourcekey="txtUdf9"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:Label ID="lblUdf5" runat="server" CssClass="label" Text="自定义字段05" meta:resourcekey="lblUdf5"></asp:Label>
                                </td>
                                <td width="180px">
                                    <asp:Label ID="lblUdf10" runat="server" CssClass="label" Text="自定义字段10" meta:resourcekey="lblUdf10"></asp:Label>
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf5" runat="server" CssClass="textbox" meta:resourcekey="txtUdf5"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    <asp:TextBox ID="txtUdf10" runat="server" CssClass="textbox" meta:resourcekey="txtUdf10"></asp:TextBox>
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                                <td width="180px">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr style="height: 10px;">
                                <td colspan="4">
                                </td>
                            </tr>
                        </table>
                    </div>
                    <asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
                        <ContentTemplate>
                            <div id="con_one_6" style="display: none; overflow-x: auto; overflow-y: hidden;">
                                <table width="1080px" style="display: block; margin-left: 10px; margin-top: 10px;">
                                    <tr>
                                        <td>
                                            <table>
                                                <tr>
                                                    <td>
                                                        <asp:Button ID="btnAddDetail" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnAddDetail%>"
                                                            OnClientClick="javascript:if(document.getElementById('hdnReceiptID').value == ''){ SethdnPageQty('hdnPageQty');  if(confirmMsg('F4100_038')) return true; else return false;}"
                                                            OnClick="btnAddDetail_Click" />
                                                    </td>
                                                    <td>
                                                        <asp:Button ID="btnDeleteDetail" runat="server" CssClass="button" Enabled="False"
                                                            Text="<%$Resources:ButtonResource,btnDeleteDetail%>" OnClientClick="javascript:if(confirmMsg('F4100_037')) return true; else return false;"
                                                            OnClick="btnDeleteDetail_Click" />
                                                    </td>
                                                    <td>
                                                        <asp:Button ID="btnImportData" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnImportData%>"
                                                            OnClientClick="javascript:if(document.getElementById('hdnReceiptID').value == ''){  SethdnPageQty('hdnPageQty'); if(confirmMsg('F4100_038')) return true; else return false; }"
                                                            OnClick="btnImportData_Click" />
                                                    </td>
                                                    <td width="10px">
                                                    </td>
                                                    <td>
                                                        <table>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="lblSkuQuery" runat="server" CssClass="label" Text="货品代码" meta:resourcekey="lblSkuQuery"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="txtSkuQuery" runat="server" CssClass="textbox" Width="100px"></asp:TextBox>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblStatusQuery" runat="server" CssClass="label" Text="状态" meta:resourcekey="lblStatusQuery"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlStatusQuery" runat="server" CssClass="selectbox">
                                                                    </asp:DropDownList>
                                                                </td>
                                                                <td>
                                                                    <asp:Button ID="btnQuery" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSearch%>"
                                                                        OnClick="btnQuery_Click" OnClientClick="blockScreen();" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr style="height: 10px;">
                                        <td>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div>
                                                <asp:GridView ID="gvReceiptDetail" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                                    AllowPaging="True" OnPageIndexChanging="gvReceiptDetail_PageIndexChanging" CssClass="gridview"
                                                    DataKeyNames="RECEIPT_ID,RECEIPT_LINE_ID,TYPE,STATUS" Width="3350px" OnRowDataBound="gvReceiptDetail_RowDataBound"
                                                    OnInit="gvReceiptDetail_Init" OnSorting="gvReceiptDetail_Sorting" meta:resourcekey="gvReceiptDetail">
                                                    <FooterStyle CssClass="GridViewFooterStyle" />
                                                    <RowStyle CssClass="GridViewRowStyle" />
                                                    <HeaderStyle CssClass="GridViewHeaderStyle" />
                                                    <PagerStyle CssClass="GridViewPageStyle" />
                                                    <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                                    <Columns>
                                                        <asp:TemplateField meta:resourcekey="TemplateField">
                                                            <HeaderTemplate>
                                                                <img src="../Images/gvSettingpic.gif" id="img01" class="gvSettingImg" onclick="gvUserSetting('4011','gvReceiptDetail');"
                                                                    onmouseover="showGVUserSettingAlt(this);" alt="customize list" />
                                                                <asp:CheckBox ID="CheckBox1" runat="server" onclick="selectAll(this,'gvReceiptDetail');"
                                                                    meta:resourcekey="CheckBox1" />
                                                            </HeaderTemplate>
                                                            <ItemTemplate>
                                                                <asp:CheckBox ID="chbSelect" runat="server" meta:resourcekey="chbSelect" />
                                                            </ItemTemplate>
                                                            <FooterTemplate>
                                                                <asp:CheckBox ID="CheckBox2" runat="server" onclick="selectAll(this,'gvReceiptDetail');"
                                                                    meta:resourcekey="CheckBox2" />
                                                            </FooterTemplate>
                                                            <HeaderStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                                            <ItemStyle HorizontalAlign="Center" CssClass="GridViewRowWidth_50" />
                                                        </asp:TemplateField>
                                                        <asp:BoundField HeaderText="序号" FooterText="序号" Visible="false" meta:resourcekey="No">
                                                            <ItemStyle CssClass="GridViewRowWidth_50" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="RECEIPT_LINE_ID" HeaderText="行号" FooterText="行号" SortExpression="RD.RECEIPT_LINE_ID"
                                                            meta:resourcekey="ReceiptLineID">
                                                            <ItemStyle CssClass="GridViewRowWidth_50" />
                                                        </asp:BoundField>
                                                        <asp:TemplateField HeaderText="明细" FooterText="明细" meta:resourcekey="TemplateFieldResource2">
                                                            <ItemTemplate>
                                                                <a id="receiptA" runat="server" onserverclick="SavePageQuery_Click" title='<%# Eval("RECEIPT_LINE_ID").ToString() %>'
                                                                    target="_self">
                                                                    <img src="../Images/icon_edit.gif" class="img" style="border: none 0px blue;" alt="receipt" /></a>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_50" HorizontalAlign="Center" />
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="OWNER_ID" HeaderText="货主代码" FooterText="货主代码" Visible="false"
                                                            SortExpression="OWNER_ID" meta:resourcekey="OwnerID">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="SKU_ID" HeaderText="货品代码" FooterText="货品代码" SortExpression="RD.SKU_ID"
                                                            meta:resourcekey="SKU_ID">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:TemplateField FooterText="货品描述" HeaderText="货品描述" SortExpression="SKU.DESCR"
                                                            meta:resourcekey="SkuDescr">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblSkuDescr" runat="server" Text='<%# Eval("SKU_DESCR").ToString() %>'
                                                                    meta:resourcekey="lblSkuDescr"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_200" />
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="PACK_ID" HeaderText="包装代码" FooterText="包装代码" SortExpression="RD.PACK_ID"
                                                            meta:resourcekey="PackID">
                                                            <ItemStyle CssClass="GridViewRowWidth_50" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="UOM_ID" HeaderText="单位" FooterText="单位" SortExpression="RD.UOM_ID"
                                                            meta:resourcekey="UomID">
                                                            <ItemStyle CssClass="GridViewRowWidth_50" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="TO_LOC" HeaderText="货位" FooterText="货位" SortExpression="RD.TO_LOC"
                                                            meta:resourcekey="ToLoc">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="STATUS_D" HeaderText="状态" FooterText="状态" SortExpression="RD.STATUS"
                                                            meta:resourcekey="StatusD">
                                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                                        </asp:BoundField>
                                                        <asp:TemplateField FooterText="预期量" HeaderText="预期量" SortExpression="RD.EXPECTED_QTY"
                                                            meta:resourcekey="ExpectedQty">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblExpectedQty" runat="server" Text='<%# GetPreferenceDigit(Eval("EXPECTED_QTY").ToString()) %>'
                                                                    meta:resourcekey="lblExpectedQty"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="接收量" HeaderText="接收量" SortExpression="RD.RECEIVED_QTY"
                                                            meta:resourcekey="ReceivedQty">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblReceivedQty" runat="server" Text='<%# GetPreferenceDigit(Eval("RECEIVED_QTY").ToString()) %>'
                                                                    meta:resourcekey="lblReceivedQty"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="PO_ID" HeaderText="采购订单号" FooterText="采购订单号" SortExpression="RD.PO_ID"
                                                            meta:resourcekey="POID">
                                                            <ItemStyle CssClass="GridViewRowWidth_150" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LPN_ID" HeaderText="LPN" FooterText="LPN" SortExpression="RD.LPN_ID"
                                                            meta:resourcekey="LPN">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="VENDOR_ID" HeaderText="供应商代码" FooterText="供应商代码" SortExpression="RD.VENDOR_ID"
                                                            meta:resourcekey="VendorID">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:TemplateField FooterText="入库日期" HeaderText="入库日期" SortExpression="RD.RECEIVED_DATE"
                                                            meta:resourcekey="ReceiveDate">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblReceiveDate" runat="server" Text='<%# GetPreferenceShortDate(Eval("RECEIVED_DATE").ToString()) %>'
                                                                    meta:resourcekey="lblReceiveDate"></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="生产日期" HeaderText="生产日期" SortExpression="RD.PRODUCE_DATE"
                                                            meta:resourcekey="PRODUCEDATE">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblProduceDate" runat="server" Text='<%# GetPreferenceShortDate(Eval("PRODUCE_DATE").ToString()) %>'></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField FooterText="失效日期" HeaderText="失效日期" SortExpression="RD.EXPIRY_DATE"
                                                            meta:resourcekey="EXPIRYDATE">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblExpiryDate" runat="server" Text='<%# GetPreferenceShortDate(Eval("EXPIRY_DATE").ToString()) %>'></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="EXTERNAL_LOT" HeaderText="供应商代码" FooterText="供应商代码" SortExpression="RD.EXTERNAL_LOT"
                                                            meta:resourcekey="ExternalLot">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR01" HeaderText="批次属性01" FooterText="批次属性01" SortExpression="RD.LOT_ATTR01"
                                                            meta:resourcekey="LotAttr01">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR02" HeaderText="批次属性02" FooterText="批次属性02" SortExpression="RD.LOT_ATTR02"
                                                            meta:resourcekey="LotAttr02">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR03" HeaderText="批次属性03" FooterText="批次属性03" SortExpression="RD.LOT_ATTR03"
                                                            meta:resourcekey="LotAttr03">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR04" HeaderText="批次属性04" FooterText="批次属性04" SortExpression="RD.LOT_ATTR04"
                                                            meta:resourcekey="LotAttr04">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR05" HeaderText="批次属性05" FooterText="批次属性05" SortExpression="RD.LOT_ATTR05"
                                                            meta:resourcekey="LotAttr05">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR06" HeaderText="批次属性06" FooterText="批次属性06" SortExpression="RD.LOT_ATTR06"
                                                            meta:resourcekey="LotAttr06">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR07" HeaderText="批次属性07" FooterText="批次属性07" SortExpression="RD.LOT_ATTR07"
                                                            meta:resourcekey="LotAttr07">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR08" HeaderText="批次属性08" FooterText="批次属性08" SortExpression="RD.LOT_ATTR08"
                                                            meta:resourcekey="LotAttr08">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR09" HeaderText="批次属性09" FooterText="批次属性09" SortExpression="RD.LOT_ATTR09"
                                                            meta:resourcekey="LotAttr09">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="LOT_ATTR10" HeaderText="批次属性10" FooterText="批次属性10" SortExpression="RD.LOT_ATTR10"
                                                            meta:resourcekey="LotAttr10">
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:BoundField>
                                                        <asp:TemplateField FooterText="货品型号" HeaderText="货品型号" SortExpression="SKU.SKU_STYLE"
                                                            meta:resourcekey="SkuStyle">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblSkuStyle" runat="server" Text='<%# Eval("SKU_STYLE").ToString() %>'></asp:Label>
                                                            </ItemTemplate>
                                                            <ItemStyle CssClass="GridViewRowWidth_100" />
                                                        </asp:TemplateField>
                                                    </Columns>
                                                </asp:GridView>
                                            </div>
                                            <div>
                                                <uc1:Pager ID="PagerFooter" runat="server" OnFirst="btnFirst_Click" OnPrevious="btnPrevious_Click"
                                                    OnNext="btnNext_Click" OnLast="btnLast_Click" OnGoTo="GoTo_Click" />
                                            </div>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr style="height: 30px;">
                                        <td>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                                <div style="margin-left: 10px">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td class="Result_01">
                                                <asp:Label ID="lblTotal" runat="server" Text="总计：" meta:resourcekey="lblTotal"></asp:Label>
                                            </td>
                                            <td class="Result_02">
                                                <table>
                                                    <tr>
                                                        <td style="margin-right: 20px;">
                                                            &nbsp; &nbsp;
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblTotalExpected" runat="server" Text="预期量:" class="label" meta:resourcekey="lblTotalExpected"></asp:Label>
                                                            <asp:Label ID="lblTotalExpectedQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblTotalReceived" runat="server" Text="接收量:" class="label" meta:resourcekey="lblTotalReceived"></asp:Label><asp:Label
                                                                ID="lblTotalReceivedQty" runat="server" Text="" class="label" Style="margin-right: 10px;"></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td class="Result_03">
                                            </td>
                                        </tr>
                                        <tr style="height: 20px">
                                            <td>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
                <div id="actionDiv" style="background-color: #FFFFFF; position: absolute; display: none;
                    border: none 0 black">
                    <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu">
                        <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                            <td class="line" id="tdlnkbtnImportPo" runat="server" visible="False">
                                <asp:LinkButton ID="lnkbtnImportPo" runat="server" Text="<%$Resources:ButtonResource,lnkbtnImportPo%>"
                                    OnClientClick="popPurchaseOrderQuery();"></asp:LinkButton>
                            </td>
                        </tr>
                        <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                            <td class="line" id="tdlnkbtnImportSo" runat="server" visible="False">
                                <asp:LinkButton ID="lnkbtnImportSo" runat="server" Text="从SO导入" OnClientClick="popShippingOrderQuery(); "></asp:LinkButton>
                            </td>
                        </tr>
                        <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                            <td class="line" id="tdlnkLpnGenerate" runat="server" visible="False">
                                <asp:LinkButton ID="lnkLpnGenerate" runat="server" Text="生成LPN" OnClientClick="popGenerateLpn(); "></asp:LinkButton>
                            </td>
                        </tr>
                        <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                            <td class="line" id="tdlnkbtnUdf" runat="server" visible="False">
                                <asp:LinkButton ID="lnkbtnUdf" runat="server" OnClientClick="JavaScript:document.getElementById('hdnPageType').value ='1' "
                                    Text="更新自定义字段" OnClick="lnkbtnUdf_Click"></asp:LinkButton>
                            </td>
                        </tr>
                        <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                            <td class="line" id="tdlnkbtnManPowerResource" runat="server" visible="False">
                                <asp:LinkButton ID="lnkbtnManPowerResource" runat="server" Text="人力资源更新" meta:resourcekey="lnkbtnManPowerResource"
                                    OnClick="lnkbtnManPowerResource_Click"></asp:LinkButton>
                            </td>
                        </tr>
                        <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                            <td class="line" id="tdlnkbtnUpdateExternalOrderID" runat="server" visible="False">
                                <asp:LinkButton ID="lnkbtnUpdateExternalOrderID" runat="server" Text="<%$Resources:ButtonResource,lnkbtnUpdateExternalOrderID%>"
                                    meta:resourcekey="lnkbtnUpdateExternalOrderID" OnClick="lnkbtnUpdateExternalOrderID_Click"></asp:LinkButton>
                            </td>
                        </tr>
                        <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                            <td class="line" id="tdlnkbtnUpdateDeclarations" runat="server" visible="False">
                                <asp:LinkButton ID="lnkbtnUpdateDeclarations" runat="server" Text="关务信息更新" meta:resourcekey="lnkbtnUpdateDeclarations"
                                    OnClick="lnkbtnUpdateDeclarations_Click"></asp:LinkButton>
                            </td>
                        </tr>
                        <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                            <td class="line" id="tdlnkbtnSAPValidation" runat="server" visible="true">
                                <asp:LinkButton ID="lnkbtnSAPValidation" runat="server" Text="SAP接口验证" OnClick="lnkbtnSAPValidation_Click"></asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                </div>
                <div id="reportDiv" style="background-color: #FFFFFF; position: absolute; display: none;">
                    <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu2">
                        <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                            <td class="line" id="tdlnkbtnPrintReceipt" runat="server" visible="False">
                                <asp:LinkButton ID="lnkbtnPrintReceipt" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPrintReceipt%>"
                                    OnClientClick="popPrintReceipt();"></asp:LinkButton>
                            </td>
                        </tr>
                        <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                            <td class="line" id="tdlnkbtnPrintImportNote" runat="server" visible="False">
                                <asp:LinkButton ID="lnkbtnPrintImportNote" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPrintImportNote%>"
                                    OnClientClick="popPrintImportNote();"></asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                </div>
                <a href="../Administration/CustomizedPage.aspx?FID=F4011&GID=gvReceiptDetail" target="_self">
                    <div id="gvSettingDiv" onmouseover="showDiv2('gvSettingDiv');" onmouseout="hiddenDiv2('gvSettingDiv');"
                        style="display: none; position: absolute;" class="gvSettingpic">
                    </div>
                </a>
                <input type="hidden" id="hiddenFlag" />
                <input type="hidden" id="hdnLineID" runat="server" />
                <input id="hdnReceiptID" runat="server" type="hidden" />
                <input id="hdnFlag" runat="server" type="hidden" value="0" />
                <input id="hdnType" runat="server" type="hidden" />
                <input id="hdnCopy" runat="server" type="hidden" />
                <input id="hiddenReportFlag" type="hidden" />
                <input id="hdnPageQty" runat="server" type="hidden" value="0" />
                <input id="hdnPageType" runat="server" type="hidden" value="0" />
                <input type="hidden" id="hdnDataFormat" runat="server" />
                <input id="hdnTypeValue" runat="server" type="hidden" />
                <input type="hidden" id="hdnSoID" runat="server" />
            </ContentTemplate>
            <%--<Triggers>
                    <asp:AsyncPostBackTrigger ControlID="btnNew" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="btnCopy" EventName="Click" />
                </Triggers>--%>
        </asp:UpdatePanel>
        <input type="hidden" id="hdnFrom" runat="server" />
        <input type="hidden" id="hdnInportValue" runat="server" />
        <input type="hidden" id="hdnImportPOValue" runat="server" />
        <input type="hidden" id="hdnIspalletized" runat="server" />
        <input type="hidden" id="hdncalendarFlag" runat="server" />
        <input id="hdnIsRequiredExternalID" runat="server" type="hidden" />
        <input type="hidden" id="hdnExternalIDDuplicate" runat="server" />
    </div>
    </form>
</body>
</html>

<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
			hiddenDiv();
		    hiddenReportDiv();
		    hiddenCalendarDiv();
		//-->
</script>

